<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ page trimDirectiveWhitespaces="true"%>
<%@ include file="/pages/common/header.jsp"%>
<jdf:themeFile file="index.css" />
<title>首页</title>
</head>
<body>
	<div class="row" id="layout" >
		<div class="dragbox chart" id="item1" ref="1">
			<h2>
				<span class="configure" >
				</span>
				<span class='chart-header'>待办事项</span>
			</h2>
			<div class="dragbox-content">
				<div class="noticeContent" style="text-align: left;">
					<div class="announcement">
						待审核的订单数：${needAuditOrder}
					</div>
					<div class="announcement">
					               待审核的采购单数：${needAuditPurchase}
					</div>
					<div class="announcement">
                                                                                     待审核的费用申请数：${needAuditExpenseApply}
                    </div>
                    <div class="announcement">
                                                                                    待审核的对帐单数：${needAuditBankStatement}
                    </div>
                    <div class="announcement">
                                                                                     待审核的商业发票数：${needAuditCommercialInvoice}
                    </div>
				</div>
			</div>
			<br class="clearfloat" />
		</div>
		<div class="dragbox" id="item2" ref="2">
			<h2>
				<span class="configure" >
				</span>
				<span class='chart-header'>公告</span>
			</h2>
			<div class="dragbox-content">
				<div class="noticeContent">
					<c:forEach varStatus="num" var="item" items="${notices}">
						<div class="announcement">
							<h3>${item.title}</h3>
							<div class="announcementDate1">
						    	<fmt:parseDate value="${item.effectiveDate}" var="date" pattern="yyyy-MM-dd"/>
	                       		<fmt:formatDate value="${date}"/>
							</div>
							<div class="announcementCon"><pre>${item.content}</pre></div>
						</div>
					</c:forEach>
				</div>
			</div>
		</div>
	</div>
</body>
